package com.zhuo.project.k3.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.zhuo.framework.aspectj.lang.annotation.Excel;
import com.zhuo.framework.web.domain.BaseEntity;

/**
 * 卓正计量单位信息对象 zz_material_unit
 * 
 * @author zhuo
 * @date 2020-04-03
 */
public class ZzMaterialUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 编码 */
    @Excel(name = "编码")
    private String fnumber;

    /** 名称 */
    @Excel(name = "名称")
    private String fname;

    /** 换算分子 */
    @Excel(name = "换算分子")
    private Double fconvertnumerator;

    /** 换算分母 */
    @Excel(name = "换算分母")
    private Double fconvertdenominator;

    /** 所属组别 */
    @Excel(name = "所属组别")
    private String funitgroupid;

    /** 所属组别名称 */
    @Excel(name = "所属组别名称")
    private String funitgroupname;

    /** 基准计量单位 */
    @Excel(name = "基准计量单位")
    private String fisbaseunit;

    /** 换算类型 */
    @Excel(name = "换算类型")
    private String fconverttype;

    /** 换算类型名称 */
    @Excel(name = "换算类型名称")
    private String fconverttypename;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private Integer fdocumentstatus;

    /** 禁用状态 */
    @Excel(name = "禁用状态")
    private Integer fforbidstatus;

    /** 换算系数:换算分子/换算分母 */
    @Excel(name = "换算系数:换算分子/换算分母")
    private Double convertCv;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFnumber(String fnumber) 
    {
        this.fnumber = fnumber;
    }

    public String getFnumber() 
    {
        return fnumber;
    }
    public void setFname(String fname) 
    {
        this.fname = fname;
    }

    public String getFname() 
    {
        return fname;
    }
    public void setFconvertnumerator(Double fconvertnumerator) 
    {
        this.fconvertnumerator = fconvertnumerator;
    }

    public Double getFconvertnumerator() 
    {
        return fconvertnumerator;
    }
    public void setFconvertdenominator(Double fconvertdenominator) 
    {
        this.fconvertdenominator = fconvertdenominator;
    }

    public Double getFconvertdenominator() 
    {
        return fconvertdenominator;
    }
    public void setFunitgroupid(String funitgroupid) 
    {
        this.funitgroupid = funitgroupid;
    }

    public String getFunitgroupid() 
    {
        return funitgroupid;
    }
    public void setFunitgroupname(String funitgroupname) 
    {
        this.funitgroupname = funitgroupname;
    }

    public String getFunitgroupname() 
    {
        return funitgroupname;
    }
    public void setFisbaseunit(String fisbaseunit) 
    {
        this.fisbaseunit = fisbaseunit;
    }

    public String getFisbaseunit() 
    {
        return fisbaseunit;
    }
    public void setFconverttype(String fconverttype) 
    {
        this.fconverttype = fconverttype;
    }

    public String getFconverttype() 
    {
        return fconverttype;
    }
    public void setFconverttypename(String fconverttypename) 
    {
        this.fconverttypename = fconverttypename;
    }

    public String getFconverttypename() 
    {
        return fconverttypename;
    }
    public void setFdocumentstatus(Integer fdocumentstatus) 
    {
        this.fdocumentstatus = fdocumentstatus;
    }

    public Integer getFdocumentstatus() 
    {
        return fdocumentstatus;
    }
    public void setFforbidstatus(Integer fforbidstatus) 
    {
        this.fforbidstatus = fforbidstatus;
    }

    public Integer getFforbidstatus() 
    {
        return fforbidstatus;
    }
    public void setConvertCv(Double convertCv) 
    {
        this.convertCv = convertCv;
    }

    public Double getConvertCv() 
    {
        return convertCv;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fnumber", getFnumber())
            .append("fname", getFname())
            .append("fconvertnumerator", getFconvertnumerator())
            .append("fconvertdenominator", getFconvertdenominator())
            .append("funitgroupid", getFunitgroupid())
            .append("funitgroupname", getFunitgroupname())
            .append("fisbaseunit", getFisbaseunit())
            .append("fconverttype", getFconverttype())
            .append("fconverttypename", getFconverttypename())
            .append("fdocumentstatus", getFdocumentstatus())
            .append("fforbidstatus", getFforbidstatus())
            .append("convertCv", getConvertCv())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
